# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Menu)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Menu_SRCS menu.cpp  menumodel.cpp  menuplugin.cpp)
QT4_WRAP_CPP(Menu_SRCS menu.h  menumodel.h  menuplugin.h)
QT4_WRAP_UI(Menu_SRCS menu.ui)
QT4_ADD_RESOURCES(Menu_SRCS menu.qrc)

add_library(Menu SHARED ${Menu_SRCS})
add_dependencies(Menu KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Menu KontAMabil ${QT_LIBRARIES})

install(TARGETS Menu ${INSTALL_PLUGINS_DEFAULT_ARGS})
